" An example for a vimrc file.
"
" Maintainer:  Bram Moolenaar <Bram@vim.org>
" Last change: 2000 Mar 29
"
" To use it, copy it to
"     for Unix and OS/2:  ~/.vimrc
"        for Amiga:  s:.vimrc
"  for MS-DOS and Win32:  $VIM\_vimrc
"      for OpenVMS:  sys$login:.vimrc
" Changes for Cygwin-Environment by Michael Ring (Michael-Ring@T-Online.de)
"
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible

set bs=2    " allow backspacing over everything in insert mode
if has("vms")
  set nobackup    " do not keep a backup file, use versions instead
else
  set backup      " keep a backup file
endif
set viminfo='20,\"50 " read/write a .viminfo file, don't store more
         " than 50 lines of registers
set history=50    " keep 50 lines of command line history
set ruler      " show the cursor position all the time

if &term == "cygwin"
  set background=dark
endif

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
endif

set vi='20,\"50,nx:/viminfo

set nobackup
